import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
// 导入自定义的全局css
import './assets/css/main.css'

// 导入封装好的请求对象
import api from './api/index.js'

import store from './store'

// 将封装好的请求对象挂在Vue原型对象的属性
Vue.prototype.$api = api

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app')
